package com.peas.platform.module.icims.contract.initial.dto;

import java.util.*;
import java.math.*;
import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 初始合同执行-变更
@Data
@EqualsAndHashCode(callSuper = false)
public class ContractInitialChangeDto extends BaseDto {

    // 合同ID
    // 【初始合同表】
    @Comment(value = "合同ID")
    private Long contractInitialId;

    // 批次号
    @Comment(value = "批次号")
    private String batch;

    // 变更经办人
    // 【用户表】
    @Comment(value = "变更经办人")
    private Long changeUserId;

    // 变更经办人部门
    // 【组织架构表】
    @Comment(value = "变更经办人部门")
    private Long changeDepartmentId;

    // 变更原因
    @Comment(value = "变更原因")
    private String changeReason;

    // 合同编码
    @Comment(value = "合同编码")
    @Condition(operator = ConditionOperator.IN)
    private String code;

    // 合同名称
    @Comment(value = "合同名称")
    private String name;

    // 合同类型
    // 【合同类型表】
    @Comment(value = "合同类型")
    private Long type;

    // 合同签订人ID
    // 【合同签订人表】
    @Comment(value = "合同签订人ID")
    private Long contractSignerId;

    // 合同签订部门ID
    // 【组织架构表】
    @Comment(value = "合同签订部门ID")
    private Long contractSignerDepartmentId;

    // 负责部门ID
    // 【组织架构表】
    @Comment(value = "负责部门ID")
    private Long departmentId;

    // 负责人用户ID
    // 【用户表】
    @Comment(value = "负责人用户ID")
    private Long userId;

    // 合同金额
    @Comment(value = "合同金额")
    private BigDecimal amount;

    // 合同起始时间
    @Comment(value = "合同起始时间")
    private Date contractLaunch;

    // 合同终止时间
    @Comment(value = "合同终止时间")
    private Date contractComplete;

    // 合同内容
    @Comment(value = "合同内容")
    private String content;

    // 变更状态
    // 枚举取值:ContractInitialChangeState
    @Comment(value = "变更状态", enumType = "ContractInitialChangeState")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
    private Date contractLaunchStart;
    private Date contractLaunchEnd;
    private Date contractCompleteStart;
    private Date contractCompleteEnd;
}
